package com.yang.design.create.singletonPattern;

/**
 * 静态内部类
 */
public class Single03 {

    private Single03(){}
    
    private static class InstanceHandle{
        private static Single03 instance = new Single03();
    }

    public static Single03 getInstance() {
        return InstanceHandle.instance;
    }
}
